package com.zqh.forum_db_002.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RequestMapping("/test")
//标记返回的信息是数据
@RestController
public class TestController {

    @RequestMapping("/hello")
    public String hello(){
        return "hello string";
    }
}
